On Monday 19 January 2004 05:44, Braden wrote: > On Monday, January 19, 2004, at 12:18 PM, LoneStar wrote: > > Braden wrote: > >> Actually, you can remount partitions without rebooting to change > >> the read only status to read-write. e.g. > >> > >> mount -o remount,rw /usr > >> > >> ...or whatever mount you want to change. You can change it back > >> with > >> > >> mount -o remount,ro /usr > >> > >> This is what I do when I want to upgrade, as my fstab declares > >> /usr as read-only. > >> > >> - Braden > > > > Besides, what difference would this be from using a Win box? > > If you change the DNS entries in a 95/98/2k/ME box you have to > > reboot. XP ain't quite as bad, but not far from it. > > > > Johnny > > Sorry... I don't quite understand... I was saying that you do *not* > need to reboot in order to edit files under a partition mounted > read-only, because you can remount a partition with different > settings (e.g. read-write) *without* rebooting.... >
One can make the read-only mount to be none remountable and thus needing a reboot. This makes the file system secure. The normal read-only mount only protects from human permission errors. After all if I have root access I can first remount and then modify. -- [EMAIL PROTECTED] mailing list
