Вы можете сделать это с помощью оператора CASE:
update the_table
set the_column = case pk_column
when 1 then (select the_column from the_table where pk_column = 2)
when 2 then (select the_column from the_table where pk_column = 1)
end
where pk_column in (1,2);
Выше предполагается, что pk_column
определено как уникальное.
Дисковая утилита может показать Вам:
diskutil list # to get the device/sector numbers
diskutil info /dev/diskXsY
Они, вероятно, закончат тем, что монтировались в/Volumes/.