From 5405e08b5c49ee5b520ac003681f6352a970b53e Mon Sep 17 00:00:00 2001 From: Thomas Schmitt Date: Sun, 11 Oct 2009 14:17:09 +0000 Subject: [PATCH] Changed FreeBSD mount command to mount_cd9660 --- xorriso/xorriso.c | 9 +++++++-- xorriso/xorriso_timestamp.h | 2 +- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/xorriso/xorriso.c b/xorriso/xorriso.c index d4a9b6ef..2a254fe4 100644 --- a/xorriso/xorriso.c +++ b/xorriso/xorriso.c @@ -12242,10 +12242,15 @@ too_long:; "Command mdconfig -a -t vnode -f can create a device node which uses the file", 0, "HINT", 0); return(0); - } else + } else { sprintf(form, - "%smount -t cd9660 -o noexec,nosuid -s %%sbsector%% %%device%% %s", + "%smount_cd9660 -o noexec,nosuid -s %%sbsector%% %%device%% %s", (flag & 1 ? "/sbin/" : ""), Text_shellsafe(cmd+8, sfe, 0)); + /* + Not working on FreeBSD 7.2 according to Zsolt Kuti, 11 Oct 2009: + "%smount -t cd9660 -o noexec,nosuid -o -s %%sbsector%% %%device%% %s", + */ + } is_safe= 1; } sprintf(session_text, "%d", session); diff --git a/xorriso/xorriso_timestamp.h b/xorriso/xorriso_timestamp.h index 5b27e256..75c5499c 100644 --- a/xorriso/xorriso_timestamp.h +++ b/xorriso/xorriso_timestamp.h @@ -1 +1 @@ -#define Xorriso_timestamP "2009.10.11.141528" +#define Xorriso_timestamP "2009.10.11.141815"