Re: Bug#669165: mount errors when attempting remount of /run, /proc and /sys
2012/4/29 Roger Leigh <email@example.com>:
> On Tue, Apr 17, 2012 at 10:47:34PM +0200, Robert Millan wrote:
>> Misc errors are displayed during boot because initscripts attempts
>> to remount /run, /proc and /sys. However, on GNU/kFreeBSD it's not
>> possible to remount tmpfs, linprocfs or linsysfs file systems:
>> mount: /run: unknown special file or file system
>> mount: proc : Operation not supported
>> mount: sys : Operation not supported
> Is it possible to know ahead of time which filesystems do not
> support remounting?
There's no automated method, but grepping MNT_UPDATE through the
source reveals that tmpfs supports remounting only for certain flags.
For linprocfs/linsysfs I'm not sure, it seems there isn't a struct
vfsops in them.
I'm afraid I don't have time to investigate this atm, sorry! I'm
adding debian-bsd to CC, maybe someone can help.