[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[plamo:12569] Re: TimeStamp for mounted DOS device
-
From:MOUE Kiyoshi
-
Date:Sat, 29 Dec 2001 21:44:47 +0900
- Subject: [plamo:12569] Re: TimeStamp for mounted DOS device
- From: MOUE Kiyoshi<zebra7@xxxxxxxxxxxxxxxxxx>
- Date: Sat, 29 Dec 2001 21:44:47 +0900
- Posted: Sat, 29 Dec 2001 21:44:07 +0900
----+----1----+----2----+----3----+----4----+----5----+----6----+----7
今晩は、MOUE です。
〜≫ in reply to your mail below ≪〜
From: "K.Nakahara" <nakahara@tcn-catv.ne.jp>
Subject: [plamo:12567] TimeStamp for mounted DOS device
Date: Sat, 29 Dec 2001 20:08:41 +0900
> mount /dev/fd0 /fd -t vfat
> のようにして、マウントしてDOSで作ったファイルを使用して
> おりますが、
>
> DOS(Windows)でのディレクトリ表示が
> Directory of A:\
> 2001/12/25 14:18 4 abc.txt
> のようであるとき、linuxでは
>
> ls /fd -l --full-time
> -rwxr-xr-x 1 root root 4 2001年12月25日 23時18分38秒 abc.txt
> のように9時間ずれた時刻で表示されます。
根本的な解決方じゃないので、あれですが、
mdir や mcopy で使うというのはどうでしょう。
例えば、ある -t vfat で作成した FD を マウントしないで、
$ sudo mdir
Volume in drive A has no label
Volume Serial Number is 1AD9-1327
Directory for A:/
CD2WAV~1 TXT 3928 05-19-2000 19:07 cd2wav32_r313.sjis.txt
GOGO23~1 ZIP 145037 05-19-2000 19:07 gogo235-win-con.zip
CD2WAV~1 ZIP 911109 05-19-2000 19:07 cd2wav32_r313.zip
GOGO23~1 TXT 9024 05-19-2000 19:07 gogo235-win-con.sjis.txt
4 file(s) 1 069 098 bytes
387 584 bytes free
これを マウントして、ls -l --full-time すると、
$ ls -l --full-time /floppy-dos/
total 1045
-rw-r--r-- 1 kmoue users 3928 土曜日 2000年05月20日 04時07分30秒 cd2wav32_r313.sjis.txt
-rw-r--r-- 1 kmoue users 911109 土曜日 2000年05月20日 04時07分32秒 cd2wav32_r313.zip
-rw-r--r-- 1 kmoue users 9024 土曜日 2000年05月20日 04時07分32秒 gogo235-win-con.sjis.txt
-rw-r--r-- 1 kmoue users 145037 土曜日 2000年05月20日 04時07分34秒 gogo235-win-con.zip
確かに GMT で表示されますね。
--
+----------+----------+----------+----------+----------+
MOUE
zebra7@seagreen.ocn.ne.jp << Plamo Linux >>
kmoue@plamo.linet.gr.jp << Plamo Documentation Project >>
- Follow-Ups
-
- [plamo:12570] Re: TimeStamp for mounted DOS device, K.Nakahara
- References
-
- [plamo:12567] TimeStamp for mounted DOS device, K.Nakahara
[検索ページ]
[メール一覧]
Plamo ML 公開システム