Re: Reading from a block device without permission

2005-12-08 Thread Marc O'Morain
On 12/7/05, Olivier Sessink <[EMAIL PROTECTED]> wrote: > sda is also the usual device if your primary harddisk is a SATA or SCSI > disk, so don't assume it is always sda! Hi Olivier, I have been getting the actual location of the block device from HAL. I should have made this more clear in my ema

Re: Reading from a block device without permission

2005-12-07 Thread Olivier Sessink
Marc O'Morain wrote: > Hi there, > > I am currently writing an application that I want to run as > unprivileged user, but I want to read raw data from a block device > such as /dev/sda (the usual block device for USB memory sticks). sda is also the usual device if your primary harddisk is a SATA