Operating System - HP-UX
1833871 Members
1722 Online
110063 Solutions
New Discussion

Re: unexpected file name (with a dot) from a CD

 
Reggie Chang
Frequent Advisor

unexpected file name (with a dot) from a CD

Hello,

I use the following command to mount a CD.
mount -rF cdfs -o cdcase /dev/dsk/c1t2d0 /CDROM

There is a file in the CD called "setup", but I see
the file as "setup." with a dot appending. (I have to
to -o cdcase since the file names used by the
"setup" are all in lower case.)

Just wonder if there is any way to get rid of the dot.

Best regards,

Reggie
8 REPLIES 8
LucianoCarvalho
Respected Contributor

Re: unexpected file name (with a dot) from a CD

Hello Reggie,

Maybe you can try this.

- remove the file /etc/pfs_fstab
- Start the daemons on the following order:

# nohup /usr/sbin/pfs_mountd &
# nohup /usr/sbin/pfsd &

- Mount the CD:
# pfs_mount -o xlat=unix /dev/dsk/cxtydz /SD_CDROM

- To Umount the CD:
# pfs_umount / SD_CDROM
# ps -ef |grep pfs
- "kill -15 xxxx" pid process for pfsd
- "kill -15 xxxx" pid process for pfs_mountd


I think it will work.

regards.
Reggie Chang
Frequent Advisor

Re: unexpected file name (with a dot) from a CD

Thank you for the message, Luciano.

When I tried to run
nohup /usr/sbin/pfs_mountd &,
it complained
"pfs_mountd: can't contact pfs_mountd.rpc RPC_PROG_NOT_REGISTERED".

How to resolve the problem?
(By the way, there is no
/etc/pfs_fstab on my machine.)

Reggie

Paula J Frazer-Campbell
Honored Contributor

Re: unexpected file name (with a dot) from a CD

Reggie

Try this:-

1. swinstall
and select the cd to install from.

2. Open another session and look at the file name structure - it should be ok.


HTH

Paula

If you can spell SysAdmin then you is one - anon
MANOJ SRIVASTAVA
Honored Contributor

Re: unexpected file name (with a dot) from a CD

Reggie

her is the pfs_fstab you can create ,

/dev/dsk/c1t2d0 /cdrom pfs-rrip xlat=unix 0 0


ofcouse the rpc.mountd daemon should be running check it using ps -aef | grep mountd .

pfs_mountd &
pfsd &
pfs_mount -x lower_case -x no_version /dev/dsk/c1t2d0 /cdrom

should do the trick


Manoj Srivastava
Wodisch_1
Honored Contributor

Re: unexpected file name (with a dot) from a CD

Hi Reggie,

get the new "mount(1m)" patches and use the new option "-o rr" (RockRidge)...

HTH,
Wodisch
Reggie Chang
Frequent Advisor

Re: unexpected file name (with a dot) from a CD

Thank you all for the info.

Paula,
The CD is for general UNIX/LINUX distribution.

Manoj,
How to launch rpc.mountd Daemon?


Reggie
MANOJ SRIVASTAVA
Honored Contributor

Re: unexpected file name (with a dot) from a CD

Hi Reggie


edit /etc/rc.config.d/nfsconf and change start_mountd to 1 and then do a /sbin/init.d.nfserver start to start the mountd daemon


Manoj Srivastava
Reggie Chang
Frequent Advisor

Re: unexpected file name (with a dot) from a CD

Manoj,

I followed your instruction and modified /etc/rc.config.d/nfsconf, but still cannot run pfs_mountd after having rpc.mountd up and running. (ps -aef shows rpc.mountd)

Any suggestion? (We got HP-UX 10.20 here, by the way.)

Best regards,

Reggie