Re: Mount and /etc/conf.modules

Andreas Schwab (schwab@suse.de)
02 Sep 1999 12:00:20 +0200


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/