mounting /usr read-only -- didn't this *used* to work?

John Summerfield debian at herakles.homelinux.org
Sun Oct 21 21:25:33 UTC 2007


Robert P. J. Day wrote:
>   once upon a time, after i set up my fedora system, i had a habit of
> re-mounting the entire /usr filesystem read-only so that, even as
> root, i couldn't do something indescribably stupid and destroy
> valuable files.  (theoretically, this remounting should be fine since,
> according to the FHS, the contents of /usr should be static and
> shareable.)
> 
>   all i would do (and demo to students in class, as well, since they
> thought it was tres cool), was to use mount with the remount option:
> 
>     # mount -oro,remount /usr
> 
>   if i try that nowadays, though, i get:
> 
>   # mount -oro,remount /usr
>   mount: /usr is busy
> 

make it ro in /etc/fstab


>

-- 

Cheers
John

-- spambait
1aaaaaaa at coco.merseine.nu  Z1aaaaaaa at coco.merseine.nu

Please do not reply off-list




More information about the users mailing list