Changes

From SME Server
Jump to navigationJump to search
609 bytes removed ,  01:32, 12 December 2010
Line 187: Line 187:  
We use hal for the first and manually create and mount for the second
 
We use hal for the first and manually create and mount for the second
   −
hal-find-by-property --key volume.fsusage --string filesystem
+
To find  the device name, label, filysystem and the uid
  −
which in this example gives
  −
  −
/org/freedesktop/Hal/devices/volume_uuid_AD6E_01EE
  −
  /org/freedesktop/Hal/devices/volume_uuid_62E87C01E87BD231
     −
To find the disk or partition label, or the device name run these commands with the id's from above
  −
  −
hal-get-property --udi XXX --key volume.label
  −
hal-get-property --udi XXX --key block.device
  −
  −
for example
  −
  −
hal-get-property --udi /org/freedesktop/Hal/devices/volume_uuid_AD6E_01EE --key volume.label
  −
120Gbfat32
  −
  −
hal-get-property --udi /org/freedesktop/Hal/devices/volume_uuid_AD6E_01EE --key block.device
  −
/dev/sda1
  −
  −
A useful script
   
  #! /bin/bash
 
  #! /bin/bash
 
  hal-find-by-property --key volume.fsusage --string filesystem |
 
  hal-find-by-property --key volume.fsusage --string filesystem |
Line 220: Line 201:  
  done
 
  done
   −
Then check a mount point exists or create one, and monut
+
To check a mount point exists and mount
    
  ll /media
 
  ll /media

Navigation menu