tech-userlevel archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Autoconfiguring root device and fstab(5) (wedges?)



On Mon, 28 Mar 2011 11:01:02 +0900, Masao Uebayashi <uebayasi%gmail.com@localhost> wrote:
On Sun, Mar 27, 2011 at 10:16 PM, Jean-Yves Migeon
<jeanyves.migeon%free.fr@localhost> wrote:
Yep; just tested it though, and fsck complains that it can't stat
``from_mount'', reason is... obvious.

Can't we move the logic from mount(8) to getfsent(3) internal?

That's a possibility, although this would require core@ approval: it modifies the semantics of getfsent(), as there would not be a direct mapping between fstab content <> struct fstab (you want to hide "from_mount" from the caller, right?)

--
Jean-Yves Migeon
jeanyves.migeon%free.fr@localhost


Home | Main Index | Thread Index | Old Index