This one time, at band camp, Gert Brinkmann said:
> Hello,
> 
> executing the following command
> 
>   /sbin/hdparm --security-freeze -u 1 -m 16 -c 1 -k 1 -K 1 -d 1 /dev/hda
> 
> fails. Instead of setting the parameters hdparm just displays the
> Usage-Text:
> 
> hdparm - get/set hard disk parameters - version v7.1
> 
> Usage:  hdparm  [options] [device] ..
> 
> Options:
>  -a   get/set fs readahead
>  -A   get/set the drive look-ahead flag (0/1)
> ...
> 
> 
> 
> The execution of a single
>   hdparm --security-freeze /dev/hda
> does work fine.
> 
> Also the first line without the --security-freeze option does work:
>   /sbin/hdparm -u 1 -m 16 -c 1 -k 1 -K 1 -d 1 /dev/hda
> 
> The first line did work with all older hdparm versions that came with
> --security-freeze support.

The option parsing has recently changed.  Try 
/sbin/hdparm -u 1 -m 16 -c 1 -k 1 -K 1 -d 1 --security-freeze /dev/hda
(i.e., put long options last).

Please let me know if that works for you.
-- 
 -----------------------------------------------------------------
|   ,''`.                                            Stephen Gran |
|  : :' :                                        [EMAIL PROTECTED] |
|  `. `'                        Debian user, admin, and developer |
|    `-                                     http://www.debian.org |
 -----------------------------------------------------------------

Attachment: signature.asc
Description: Digital signature

Reply via email to