lkml.org 
[lkml]   [1999]   [Sep]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: Mount and /etc/conf.modules
From
Date
Eduardo Soriano <e_soriano@dapsys.ch> writes:

|> I am using mount(2) system call to mount MO drives. Depending on previous
|> situation,
|> /var/log/messages is reporting that the media being mounted was not unmounted
|> properly or requires a e2fsck as exceeding # of mounts.
|>
|> Question: How can I get such status after mount(2) is completed ? In that case I
|>
|> will umount(2) the media, initiates a system(2) with e2fsck and mounting again.

How about always running e2fsck before mounting? If nothing has to be
checked then e2fsck will exit right away.

Andreas.

--
Andreas Schwab "And now for something
schwab@suse.de completely different."
SuSE GmbH, Schanzäckerstr. 10, D-90443 Nürnberg

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

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