Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.user > #242735
| From | David Christensen <dpchrist@holgerdanske.com> |
|---|---|
| Newsgroups | linux.debian.user |
| Subject | SD card, exfat, file mtime wrong |
| Date | 2021-12-07 03:40 +0100 |
| Message-ID | <DryyB-1py-5@gated-at.bofh.it> (permalink) |
| Organization | linux.* mail to news gateway |
debian-user: I recently installed debian-live-11.1.0-amd64-xfce+nonfree.iso on a Dell Latitude E6520: 2021-12-06 17:52:45 dpchrist@laalaa ~ $ cat /etc/debian_version ; uname -a 11.1 Linux laalaa 5.10.0-9-amd64 #1 SMP Debian 5.10.70-1 (2021-09-30) x86_64 GNU/Linux I am in California, USA. My timezone is Pacific Standard Time (PST). UTC is 8 hours ahead. tzselect(1) calls my timezone "America/Los_Angeles". When I insert a SDXC card formatted with exfat into a USB adapter, plug the adapter into the laptop, and double-click on the icon that appears on the desktop, the SD card filesystem is mounted: 2021-12-06 17:52:53 dpchrist@laalaa ~ $ mount | grep media /dev/sdc1 on /media/dpchrist/**redacted** type exfat (rw,nosuid,nodev,relatime,uid=**redacted**,gid=**redacted**,fmask=0022,dmask=0022,iocharset=utf8,errors=remount-ro,uhelper=udisks2) When I list the files on the SD card, the mtime is wrong. For example, here is a photograph that I took about ten minutes ago: 2021-12-06 18:13:02 dpchrist@laalaa /media/dpchrist/**redacted**/DCIM/**redacted** $ ll IMG_6947.JPG -rwxr-xr-x 1 dpchrist dpchrist 3988022 2021-12-06 10:02:57 IMG_6947.JPG It appears that mount(8) and/or the exfat driver consider the mtime to be in UTC, and are applying my timezone adjustment of -08:00 hours (?). I would like Debian 11 to display the mtime without any modification (e.g. correct local time). Suggestions? David
Back to linux.debian.user | Previous | Next — Next in thread | Find similar | Unroll thread
SD card, exfat, file mtime wrong David Christensen <dpchrist@holgerdanske.com> - 2021-12-07 03:40 +0100
Re: SD card, exfat, file mtime wrong David <bouncingcats@gmail.com> - 2021-12-07 04:50 +0100
Re: SD card, exfat, file mtime wrong David Wright <deblis@lionunicorn.co.uk> - 2021-12-07 06:10 +0100
Re: SD card, exfat, file mtime wrong Dirk Neumann <neum_d@yahoo.de> - 2021-12-07 09:00 +0100
Re: SD card, exfat, file mtime wrong David Christensen <dpchrist@holgerdanske.com> - 2021-12-08 04:10 +0100
Re: SD card, exfat, file mtime wrong David <bouncingcats@gmail.com> - 2021-12-08 04:30 +0100
Re: SD card, exfat, file mtime wrong David Christensen <dpchrist@holgerdanske.com> - 2021-12-08 06:20 +0100
Re: SD card, exfat, file mtime wrong David <bouncingcats@gmail.com> - 2021-12-08 06:40 +0100
Re: SD card, exfat, file mtime wrong David Wright <deblis@lionunicorn.co.uk> - 2021-12-08 07:00 +0100
Re: SD card, exfat, file mtime wrong Reiner <reinerstallknecht@gmail.com> - 2021-12-14 10:50 +0100
Re: SD card, exfat, file mtime wrong David Christensen <dpchrist@holgerdanske.com> - 2021-12-15 02:00 +0100
Re: SD card, exfat, file mtime wrong Sven Hoexter <sven@stormbind.net> - 2022-01-15 23:00 +0100
Re: SD card, exfat, file mtime wrong Reiner <reinerstallknecht@gmail.com> - 2022-01-16 12:20 +0100
csiph-web