[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Squeeze: How to hide certain partitions in Nautilus



Dear Hoang Le,
             please don't top-post. It limits the number of emails I
can read. See:- http://www.netmeister.org/news/learn2quote2.html#ss2.3

Dear Scott, I'm sorry for the inconvenience 

I don't have Nautilus to experiment with - and I'm speculating that you
are referring to the "places" part of Nautilus - which refers to
available file systems, not necessarily mounted. Further, your fstab
doesn't mention those two partitions you want hid - so either udev is
creating those entries, or something like NTFS utils is. I suspect the
former.

Yes, I refer to available file systems, not necessarily mounted. I don't know yet about udev entries, I'll figure out later. Regarding NTFS utils, I have ntfs-3g installed
 
So I'm "assuming" there are at least two approaches to a solution:-
1. modify the udev rule (are you comfortable with editing udev rules?)

I don't know yet how to use udev rules but I guess it's not too simple so I will find out myself.
 
2. create mount points in /mnt, add entries to fstab with noauto that
mount those partitions beneath /mnt.

NOTE: I don't know what those partitions are formatted as, I "assume"
it's ntfs and/or FAT32 - so I can't advise what you should put instead
of "unknown_filesystem" and "unknown_options" in the example below. 
If
you don't know the file systems or the appropriate options - post the
output of:-
# fdisk -l

I think this second approach would be fine for me. Here are the 2 partitions I'm mentioning

#fdisk -l
Device Boot      Start         End      Blocks   Id  System
/dev/sda1               1          13      102400    7  HPFS/NTFS
Partition 1 does not end on cylinder boundary.
/dev/sda2              13         274     2097152    b  W95 FAT32
Partition 2 does not end on cylinder boundary.
 
If one or more of /dev/sda1 /dev/sda2 are ntfs formatted - please also
post the output of:-
# dpkg --get-selections | grep -v deinstall | grep ntfs

# dpkg --get-selections | grep -v deinstall | grep ntfs
libntfs-3g75 install
libntfs10 install
ntfs-3g install
ntfsprogs install

Thank you,
Hoang

Reply to: