[prev in list] [next in list] [prev in thread] [next in thread] 

List:       busybox
Subject:    Re: [PATCH] Fix Config help text for hdparm -d option
From:       Denys Vlasenko <vda.linux () googlemail ! com>
Date:       2009-03-29 17:16:26
Message-ID: 200903291916.26372.vda.linux () googlemail ! com
[Download RAW message or body]

On Wednesday 25 March 2009 19:46, Tito wrote:
> Hi,
> this is a trivial patch that fixes the Config.in help text
> for the hdparm -d (FEATURE_HDPARM_HDIO_GETSET_DMA)
> option. The patch removes the DANGEROUS remark
> as it scares users and is not coherent with the original
> hdparm help text.
> 
> hdparm - get/set hard disk parameters - version v8.9
> 
> Usage:  hdparm  [options] [device] ..
> 
> Options:
>  -a   get/set fs readahead
>  -A   get/set the drive look-ahead flag (0/1)
>  -b   get/set bus state (0 == off, 1 == on, 2 == tristate)
>  -B   set Advanced Power Management setting (1-255)
>  -c   get/set IDE 32-bit IO setting
>  -C   check drive power mode status
>  -d   get/set using_dma flag
>  -D   enable/disable drive defect management
>  -E   set cd-rom drive speed
>  -f   flush buffer cache for device on exit
>  -F   flush drive write cache
>  -g   display drive geometry
>  -h   display terse usage information
>  -H   read temperature from drive (Hitachi only)
>  -i   display drive identification
>  -I   detailed/current information directly from drive
>  -k   get/set keep_settings_over_reset flag (0/1)
>  -K   set drive keep_features_over_reset flag (0/1)
>  -L   set drive doorlock (0/1) (removable harddisks only)
>  -M   get/set acoustic management (0-254, 128: quiet, 254: fast)
>  -m   get/set multiple sector count
>  -N   get/set max visible number of sectors (HPA) (VERY DANGEROUS)
>  -n   get/set ignore-write-errors flag (0/1)
>  -p   set PIO mode on IDE interface chipset (0,1,2,3,4,...)
>  -P   set drive prefetch count
>  -q   change next setting quietly
>  -Q   get/set DMA queue_depth (if supported)
>  -r   get/set device  readonly flag (DANGEROUS to set)
>  -R   obsolete
>  -s   set power-up in standby flag (0/1) (DANGEROUS)
>  -S   set standby (spindown) timeout
>  -t   perform device read timings
>  -T   perform cache read timings
>  -u   get/set unmaskirq flag (0/1)
>  -U   obsolete
>  -v   defaults; same as -acdgkmur for IDE drives
>  -V   display program version and exit immediately
>  -w   perform device reset (DANGEROUS)
>  -W   get/set drive write-caching flag (0/1)
>  -x   obsolete
>  -X   set IDE xfer mode (DANGEROUS)
>  -y   put drive in standby mode
>  -Y   put drive to sleep
>  -Z   disable Seagate auto-powersaving mode
>  -z   re-read partition table
>  --direct          use O_DIRECT to bypass page cache for timings
>  --drq-hsm-error   crash system with a "stuck DRQ" error (VERY DANGEROUS)
>  --fibmap          show device extents (and fragmentation) for a file
>  --fibmap-sector   show absolute LBA of a specfic sector of a file
>  --Istdin          read identify data from stdin as ASCII hex
>  --Istdout         write identify data to stdout as ASCII hex
>  --make-bad-sector deliberately corrupt a sector directly on the media (VERY DANGEROUS)
>  --read-sector     read and dump (in hex) a sector directly from the media
>  --security-help   display help for ATA security commands
>  --verbose         display extra diagnostics from some commands
>  --write-sector    repair/overwrite a (possibly bad) sector directly on the media (VERY DANGEROUS)
> 
> Please apply if you like it.
> Untested but trivial with no code changes.

Applied, thanks
--
vda
_______________________________________________
busybox mailing list
busybox@busybox.net
http://lists.busybox.net/mailman/listinfo/busybox
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic