Changes
Jump to navigation
Jump to search
← Older edit
Newer edit →
USBDisks
(view source)
Revision as of 01:21, 12 December 2010
489 bytes added
,
01:21, 12 December 2010
→USB on SME 8
Line 206:
Line 206:
hal-get-property --udi /org/freedesktop/Hal/devices/volume_uuid_AD6E_01EE --key block.device
hal-get-property --udi /org/freedesktop/Hal/devices/volume_uuid_AD6E_01EE --key block.device
/dev/sda1
/dev/sda1
+
+
A useful script
+
#! /bin/bash
+
hal-find-by-property --key volume.fsusage --string filesystem |
+
while read udi ; do
+
# ignore optical discs
+
if [[ "$(hal-get-property --udi $udi --key volume.is_disc)" == "false" ]]; then
+
dev=$(hal-get-property --udi $udi --key block.device)
+
fs=$(hal-get-property --udi $udi --key volume.fstype)
+
lb=$(hal-get-property --udi $udi --key volume.label)
+
echo $dev": label "$lb",file system: "$fs ",uid: "$udi
+
fi
+
done
Then check a mount point exists or create one, and monut
Then check a mount point exists or create one, and monut
Snoble
Administrators
2,569
edits
Navigation menu
Personal tools
Log in
Namespaces
Page
Discussion
Variants
Views
Read
View source
View history
More
Search
Koozali SME Server
Main Page
Welcome
Releases
Testimonials
Documentation
SME Server FAQ
Volunteering
Commercial Support
Recent activities
Dashboard
Recent wiki changes
Recent bug changes
Unread Forum posts
Koozali resources
Contribs
How-To's
Forums
Bugzilla
Mailing Lists
Translations
Download
Koozali SME Server wiki
Wiki statistics
Wiki categories
Wiki Help
Koozali Wiki Help
Tools
Special pages
Printable version