bug-xorriso
[Top][All Lists]
Advanced

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

Re: [Bug-xorriso] How can I calculate the max. Filesize with a given ava


From: Thomas Schmitt
Subject: Re: [Bug-xorriso] How can I calculate the max. Filesize with a given available sector count?
Date: Tue, 03 Mar 2015 20:56:33 +0100

Hi,

> >    reply=$(xorriso -report_about WARNING -outdev /dev/null \
> >                    -map "$HOME"/my_file /my_file \
> >                    -print_size -rollback)
> This gives an error. Maybe you mean -dev stdio:/dev/null

Yes, i do.

This slipped through, because my  /etc/opt/xorriso/rc  has

  -drive_class harmless /dev/null

When i run

  xorriso -no_rc -outdev /dev/null

i get

  xorriso : FAILURE : Drive address '/dev/null' rejected because: not MMC and 
-drive_class 'risky' '/dev'
  xorriso : HINT : If the address is a legitimate target, prepend "stdio:"

(I need to change the message. It's 'caution', not 'risky'.
But the hint is ok. By default, /dev paths must lead to a
burner drive or must be marked by prefix "stdio:". That's
to prevent auto foot shooting by the superuser.)


Have a nice day :)

Thomas




reply via email to

[Prev in Thread] Current Thread [Next in Thread]