tech-kern archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: resizing the root file system
> Well, you need to either mount -o reload or reboot.
Ah, thanks.
But I cannot see /etc/rc.d/resize_root doing that.
> If you'd checked with df instead of fsck, you probably would have never
> seen it to begin with.
OK.
> meaning mount -o remount
You mean -o reload as above?
> Or you can use a normal fsck, let it set the size back down, and then
> resize it again when you're done.
I think I'll try that one.
> But I _think_ you can't convert a read/write mount to read-only without
> an unmount, which for the root filesystem means a reboot.
But mount(8) says (regarding -u):
also a file system can be changed from read-only to read-write or vice versa.
An attempt to change from read-write to read-only will fail if any files on
the file system are currently open for writing unless the -f flag is also
specified.
and I tried it on /altroot which surely had no files open on it.
Home |
Main Index |
Thread Index |
Old Index