Nathan McBride wrote:
> Yup, I got some help in IRC. What I ended up doing was using regex to
> pull out each "/dev/loopX". Then
> took the X and fed it to max which in turn gave me the highest numbered
> loop device in use. After which I
> then just added 1 to X and added it to the end of "/dev
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Yup, I got some help in IRC. What I ended up doing was using regex to
pull out each "/dev/loopX". Then
took the X and fed it to max which in turn gave me the highest numbered
loop device in use. After which I
then just added 1 to X and added it to t
Nathan McBride wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hey Guys,
I have a program that uses the loop devices. However I originally was
finding the free one with:
'losetup -f'. Which returns the next free loop device. :D However, I
found that some of the other distros
have a vers
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hey Guys,
I have a program that uses the loop devices. However I originally was
finding the free one with:
'losetup -f'. Which returns the next free loop device. :D However, I
found that some of the other distros
have a version of losetup that does