LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (http://www.linuxquestions.org/questions/linux-software-2/)
-   -   How to suppress output from reiserfs mount (http://www.linuxquestions.org/questions/linux-software-2/how-to-suppress-output-from-reiserfs-mount-363824/)

jwezel 09-16-2005 01:46 AM

How to suppress output from reiserfs mount
 
I am about to build a simple installation script for Gentoo Linux, using dialog to manage input and output. Now when it comes to mounting the partitions just created, Reiser FS prints a lot of junk to the console which I want to prevent, because it disturbs my dialog output. But I see no way. Redirecting standard output and standard error has no effect. And there seems to be no option to suppress output.

Does anybody know how to do this?

hw-tph 09-16-2005 02:56 AM

From mkreiserfs(8):
Code:

      -q | --quiet
              Sets mkreiserfs to  work  quietly  without  producing  messages,
              progress  or  questions.  It  is useful, but only for use by end
              users, if you run mkreiserfs in a script.


Håkan

jwezel 09-17-2005 10:50 AM

mkreiserfs is no problem, only mounting it.

bigrigdriver 09-17-2005 09:20 PM

You could try mounting with the notail option to see if that suppresses output.

See man mount for more options on mounting reiserFS .

KPOM 09-26-2005 08:43 PM

The notail option actually doesn't work. This is something that I've been wondering about as well-so I guess that means I'm bumping this. Even if there's not a notail equivalent, something to at least reduce the amount of output; 2 lines at 1280x800, would be nice.

jwezel 09-27-2005 02:24 AM

OK, to clear things up with notail, it hasn't got anything to do with output. It means to not pack file data directly into the directory tree. Packing file data directly into the directory saves space. The notail option is needed for example for the grub boot loader if the kernel is on a reiserfs partition, because it cannot (yet?) cope with this data scheme.


All times are GMT -5. The time now is 07:33 AM.