Skip to content
This repository was archived by the owner on Feb 28, 2025. It is now read-only.

Commit afa9fce

Browse files
committed
Make the iso9660 extfs helper read-only
1 parent 9b2faec commit afa9fce

File tree

1 file changed

+0
-52
lines changed

1 file changed

+0
-52
lines changed

src/vfs/extfs/helpers/iso9660.in

Lines changed: 0 additions & 52 deletions
Original file line numberDiff line numberDiff line change
@@ -114,34 +114,6 @@ xorriso_copyout() {
114114
$XORRISO -dev stdio:"$1" -osirrox on -extract "$2" "$3" >/dev/null 2>&1
115115
}
116116

117-
xorriso_copyin() {
118-
if test -z "$XORRISO"; then
119-
return 1
120-
fi
121-
$XORRISO -dev stdio:"$1" -cpr "$3" "$2" >/dev/null 2>&1
122-
}
123-
124-
xorriso_mkdir() {
125-
if test -z "$XORRISO"; then
126-
return 1
127-
fi
128-
$XORRISO -dev stdio:"$1" -mkdir "$2" >/dev/null 2>&1
129-
}
130-
131-
xorriso_rmdir() {
132-
if test -z "$XORRISO"; then
133-
return 1
134-
fi
135-
$XORRISO -dev stdio:"$1" -rmdir "$2" >/dev/null 2>&1
136-
}
137-
138-
xorriso_rm() {
139-
if test -z "$XORRISO"; then
140-
return 1
141-
fi
142-
$XORRISO -dev stdio:"$1" -rm "$2" >/dev/null 2>&1
143-
}
144-
145117
# tested to comply with isoinfo 2.0's output
146118
test_iso () {
147119
ISOINFO=$(which isoinfo 2>/dev/null)
@@ -266,30 +238,6 @@ case "$cmd" in
266238
}
267239
exit 0
268240
;;
269-
rm)
270-
xorriso_rm "$@" || {
271-
exit 1
272-
}
273-
exit 0
274-
;;
275-
rmdir)
276-
xorriso_rmdir "$@" || {
277-
exit 1
278-
}
279-
exit 0
280-
;;
281-
mkdir)
282-
xorriso_mkdir "$@" || {
283-
exit 1
284-
}
285-
exit 0
286-
;;
287-
copyin)
288-
xorriso_copyin "$@" || {
289-
exit 1
290-
}
291-
exit 0
292-
;;
293241
copyout)
294242
xorriso_copyout "$@" || {
295243
test_iso "$@" || exit 1

0 commit comments

Comments
 (0)