lkml.org 
[lkml]   [2003]   [Feb]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    SubjectRe: About /etc/mtab and /proc/mounts
    From
    Date
    Kasper Dupont <kasperd@daimi.au.dk> writes:
    > I don't think you can put all the information from /etc/mtab
    > into /proc/mounts without breaking compatibility.

    Why? Since the option syntax is regular, presumably programs simply
    ignore options they don't understand. No?

    > My suggestion would be to change it from /etc/mtab to /mtab.d/mtab.

    Please, no. don't pollute the root (_especially_ with little one-use
    directories like that).

    /var is clearly the right place for this; if /var isn't mounted
    initially, I'd suggest that mount should simply not update any file at
    that point, and the init-script that mounts /var can be responsible from
    propagating information from /proc/mounts to /var/whatever.

    -Miles
    --
    "I distrust a research person who is always obviously busy on a task."
    --Robert Frosch, VP, GM Research
    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/

    \
     
     \ /
      Last update: 2005-03-22 13:33    [W:3.993 / U:0.120 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site