Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 573727 Details for
Bug 808121
cupsd interferes with loop devices (?!)
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
mount.sh (test script)
mount.sh (text/plain), 677 bytes, created by
Will Woods
on 2012-03-29 16:09:56 UTC
(
hide
)
Description:
mount.sh (test script)
Filename:
MIME Type:
Creator:
Will Woods
Created:
2012-03-29 16:09:56 UTC
Size:
677 bytes
patch
obsolete
>#!/bin/bash >[ "$(id -u)" != 0 ] && echo "be more rootish." && exit 0 > >#set -x > >mnt=/tmp/looptest/mnt >img=/tmp/looptest/disk.img >[ ! -d $mnt ] && mkdir -p $mnt >[ ! -f $img ] && truncate -s 256M $img && mkfs.ext4 -Fq $img > >mount -o loop $img $mnt || { echo ERROR: mount failed; exit 1; } > >loop=$(grep -w "$mnt" /proc/mounts | grep -o '/dev/loop[0-9]') >[ -n "$loop" ] || { echo ERROR: no loopdev?; umount $mnt; exit 1; } > >echo "yay, I made a file" > $mnt/file.txt > >umount $mnt ># That should automatically delete the loop device. Right? > >if losetup $loop 2>/dev/null; then > echo ERROR: loop device still exists. Removing manually. > losetup -d $loop >else > echo Success. >fi
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 808121
: 573727