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

Re: Squeeze: How to hide certain partitions in Nautilus



On 30/06/11 20:42, Hoang Le wrote:
>     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 

No worries, and thanks.

<snipped>
> 
> Yes, I refer to available file systems, not necessarily mounted. I don't
> know yet about udev entries, I'll figure out later.

Only if this (fstab) approach does not work :-)

<snipped>

> 
> 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.

Thanks.
1. Follow the instructions in the previous email and use the following
(everything between the === rows) to create a new fstab (don't forget to
back up the existing fstab)

=======================================================================
proc  /proc proc defaults 0 0
UUID=73b82a95-b080-4088-9c3d-1ff8445b2f68 / ext4
noatime,errors=remount-ro 0 1
UUID=54330dab-8d32-4c99-a068-3bcb04f01b61 none  swap    sw   0   0
/dev/sda1 /mnt/sda1 ntfs-3g defaults,noauto 0 0
/dev/sda2 /mnt/sda2 vfat defaults,noauto 0 0
=======================================================================

NOTE: the locale, iocharset, UID, GID, and noexec options haven't been
set as you won't be using the filesystems. Unless you try and mount them
as root it shouldn't be a problem (why I left the "user" out of the
options. I didn't bother with UUID - unless you drive swap it's not much
use, and even then labels are easier.
Also note that I added the noatime option to your / to improve performance.

<snipped>
> 
> Thank you,
> Hoang

Post again if this proves unclear, or the results unsatisfactory.

Cheers

-- 
"This is where we are at right now, as a whole. No one is left out of
the loop.
We are experiencing a reality based on a thin veneer of lies and illusions.
A world where greed is our God and wisdom is sin, where division is key
and unity is fantasy, where the ego-driven cleverness of the mind is
praised, rather than the intelligence of the heart."
~ Bill Hicks


Reply to: