summaryrefslogtreecommitdiffstats
path: root/daemon/devsparts.c
Commit message (Collapse)AuthorAgeFilesLines
* Fix errno check in readdir in devsparts.cMatthew Booth2009-08-061-3/+5
|
* Recognise cd-rom devices in devsparts.cMatthew Booth2009-08-061-72/+96
| | | | | | Also: * Un-duplicate device detection code by creating a common mapping function. * Add some more comments.
* Convert all TABs-as-indentation to spaces.Jim Meyering2009-08-031-25/+25
| | | | | | | | | | | Do it by running this command: [exempted files are matched via .x-sc_TAB_in_indentation] git ls-files \ | pcregrep -vf .x-sc_TAB_in_indentation \ | xargs pcregrep -l '^ *\t' \ | xargs perl -MText::Tabs -ni -le \ '$m=/^( *\t[ \t]*)(.*)/; print $m ? expand($1) . $2 : $_'
* fix comments; move declarationsJim Meyering2009-07-301-6/+4
| | | | | | * daemon/devsparts.c (do_list_devices, do_list_partitions): Remove stray words in comments. Move declarations down to definition.
* Don't show empty CD devices (RHBZ#514505).Richard Jones2009-07-291-0/+27
|
* remove trailing blanksJim Meyering2009-07-031-1/+1
|
* Change to use virtio_blk (virtio block device) by default.Richard W.M. Jones2009-07-011-2/+4
| | | | | | | | | | | | | virtio_blk is the fast, virt-native block device driver supported by qemu and KVM. Note that virtio_blk device names are called /dev/vd*. Existing scripts should continue working because device name translation will silently change device names of the form /dev/sd* to /dev/vd* as required. See also: http://libguestfs.org/guestfs.3.html#block_device_naming
* In the daemon, change all const char * parameters to char *.Richard Jones2009-06-101-1/+1
|
* Add: pvresize, sfdisk-N, sfdisk-l, sfdisk-kernel-geomtry, ↵Richard W.M. Jones2009-05-151-43/+0
| | | | sfdisk-disk-geometry commands. Pass --no-reread flag to sfdisk.
* /dev/hd* is also a block device on RHEL 5.Richard Jones2009-05-071-2/+4
|
* Added test suite.Richard Jones2009-04-111-0/+62
|
* Implement list-devices and list-partitions.Richard Jones2009-04-061-0/+133