detail here >> http://www.worldofnubcraft.com/969/hide-your-disks-or-partitions-from-nautilus/
Currenty when open Home Folder, in device list it shows "System Reserved" (for dual boot?) and "210 GB Filesystem" (for Windows)
To hide these two devices,
1. mount both
2. at command line, type mount
3. from output get device name, e.g.
/dev/sda1 on /media/System Reserved type fuseblk (rw,nosuid,nodev,allow_other,default_permissions,blksize=4096)
/dev/sda2 on /media/70A8BF9FA8BF6270 type fuseblk (rw,nosuid,nodev,allow_other,default_permissions,blksize=4096)
sda1 = "System Reserved"; sda2 = "210 GB ..." (there is no name, so it displays uuid 70A8B...)
4. create new file named 99-hide-disks.rules with content below
KERNEL=="sda1", ENV{UDISKS_PRESENTATION_HIDE}="1"
KERNEL=="sda2", ENV{UDISKS_PRESENTATION_HIDE}="1"
5. copy to /etc/udev/rules.d/
sudo cp ./99-hide-disks.rules /etc/udev/rules.d/
6. reboot or run following command
sudo udevadm trigger
ไม่มีความคิดเห็น:
แสดงความคิดเห็น