Re: Increasing space under an existing directory
From: Benedict Verheyen (benedict.verheyen_at_sjki.be)
Date: 01/31/05
- Previous message: Tim Gershon: "why can't i compile a 2.6.10 kernel?"
- Maybe in reply to: Vinod: "Increasing space under an existing directory"
- Next in thread: Bob Alexander: "Re: Increasing space under an existing directory"
- Reply: Bob Alexander: "Re: Increasing space under an existing directory"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Mon, 31 Jan 2005 16:39:18 +0100 To: debian-user@lists.debian.org, Bob Alexander <bob@ngi.it>
Bob Alexander wrote:
> Benedict Verheyen wrote:
>
>> Maybe not for a home 'puter but isn't putting /usr on a seperate
>> partition prefered for a server?
>> You can then mount the partition read only. That's one of the
>> benefits i can think of.
>>
>
> Benedict,
> what you say in principle is very true.
>
> Did you actually try it on a Debian system ?
>
> Not 100% sure but IIRC I did and it does NOT work :)
>
> Bob
It works on my system:
mount -o remount,ro /usr
cd /usr
touch test
touch: cannot touch `test': Read-only file system
Best is to change this in /etc/fstab and then add this to /etc/apt/apt.conf
DPkg {
// Auto re-mounting of a readonly /usr
Pre-Invoke {"mount -o remount,rw /usr";};
Post-Invoke {"mount -o remount,ro /usr";};
}
Apparently this doesn't always work:
http://lists.debian.org/debian-devel/2001/11/msg00212.html
Regards,
Benedict
-- To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
- Previous message: Tim Gershon: "why can't i compile a 2.6.10 kernel?"
- Maybe in reply to: Vinod: "Increasing space under an existing directory"
- Next in thread: Bob Alexander: "Re: Increasing space under an existing directory"
- Reply: Bob Alexander: "Re: Increasing space under an existing directory"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]