Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I have two RAID arrays that are fstab-mounted. They are as important to me as the root disk as a large portion of my home dir is mounted from one of these arrays.

Here's how they look in the nautilus sidebar:

alt text

When I click one of these eject icons, it errors out (I'd need to be root) but that's by-the-by, I don't want the icon there in the first place.

Is there anything I can do to suppress it for certain drives? It needs to be targeted because I still want to be able to unmount SD cards, my phone, etc.

share|improve this question

2 Answers 2

up vote 2 down vote accepted

Ideally, if the drive is not unmountable by the user no eject button should be shown. That the button is shown regardless of whether it is useful or not has been reported as a bug here: https://bugzilla.gnome.org/show_bug.cgi?id=586644

share|improve this answer

If your mount point is not under /media, but for example under /mnt, the icon will not be showed.

share|improve this answer
    
+1. '/media' is defined as mount point for removable media in the filesystem hierarchy standard: pathname.com/fhs/pub/fhs-2.3.pdf –  htorque Oct 13 '10 at 10:23
    
Will the device still be listed by nautilus at all? –  Oli Oct 13 '10 at 10:25
    
@Oli No, you can access the device through Filesystem /, then /mnt –  enzotib Oct 13 '10 at 10:27
    
@htorque By that same document /mnt/ is described: "This directory is provided so that the system administrator may temporarily mount a filesystem as needed. The content of this directory is a local issue and should not affect the manner in which any program is run." My mounts are not temporary and unmounting them will have a profound and very much severe effect on running programs. –  Oli Oct 13 '10 at 10:28
    
@enzotib I'd rather have the eject icon than have to go hunting for the drives. –  Oli Oct 13 '10 at 10:30

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.